object t01 {
  def main(args: Array[String]): Unit = {
    val scores = Array(63, 96, 89, 75, 45)
    var sum = 0
    for (i <- scores) {
      sum += i
    }
    print(sum)
    val scores1 = scores :+ 70
    println(scores.mkString(","))
    println(scores1.mkString(","))
    val scores2 = 50 +: 60 +: scores :+ 85
    println(scores.mkString(","))
    println(scores2.mkString(","))
    val scores3 = scores ++ Array(23,56)
    println(scores3.mkString(","))
  }
}
